/*
 * DRI_Init.h
 *
 *  Created on: Aug 13, 2024
 *      Author: Administrator
 */

#ifndef DRI_INIT_H_
#define DRI_INIT_H_

#include "../Core/Inc/main.h"
#include "BUZZER/buzzer.h"
#include "delay/delay.h"
#include "KEY/key.h"
#include "LCD/lcd.h"
#include "LED/led.h"
#include "NAND/nand.h"
#include "RTC/rtc2.h"
#include "SDRAM/sdram.h"
#include "TOUCH/touch.h"
#include "UART/uart.h"
#include "USB/usb.h"


//初始化错误状态返回值
typedef enum{
	init_OK = 0,
	init_Sdram_Err = 0x1,
	init_lcd_Err = 0x2,
	init_Nand_Err = 0x4,
	init_Touch_Err = 0x8,
	init_Uart_Err = 0x10,
	init_RTC_Err = 0x20
}Enum_InitStatus;



//所有硬件层初始化
Enum_InitStatus DRI_Init();
//仅做测试用
void DRI_Test();

#endif /* DRI_INIT_H_ */
